<?php
	include "conexion_bd.php";
	$a = $_POST["registro"];
	foreach($a as &$b) $mysqli->query("DELETE FROM ".$_POST["tabla"]." WHERE ".$_POST["campo"]." = '".$b."';");
	header ("location: main.php?goto=".$_POST["pagina"]);
?>